﻿

using PortalWeb.Common.CacheStorage;
using Quick.Common.CacheStorage;

namespace Quick.Common
{
    /// <summary>
    /// </summary>
    public static class ConfigurationExtensions
    {
        /// <summary>
        /// </summary>
        /// <returns></returns>
        public static Configuration UseCache(this Configuration configuration)
        {
            configuration.SetDefault<ICacheStorage, DefaultCacheAdapter>(new DefaultCacheAdapter());
            return configuration;
        }
    }
}
